Greedy can also beat pure dynamic programming

نویسندگان

  • Stasys Jukna
  • Hannes Seiwert
چکیده

Many dynamic programming algorithms are “pure” in that they only use min or max and addition operations in their recursion equations. The well known greedy algorithm of Kruskal solves the minimum weight spanning tree problem on n-vertex graphs using only O(n logn) operations. We prove that any pure DP algorithm for this problem must perform 2 operations. Since the greedy algorithm can also badly fail on some optimization problems, easily solvable by pure DP algorithms, our result shows that the computational powers of these two types of algorithms are incomparable.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Control and Cybernetics Canonical Greedy Algorithms and Dynamic Programming

There has been little work on how to construct greedy algorithms to solve new optimization problems efficiently. Instead, greedy algorithms have generally been designed on an ad hoc basis. On the other hand, dynamic programming has a long history of being a useful tool for solving optimization problems, but is often inefficient. We show how dynamic programming can be used to derive efficient gr...

متن کامل

Disruption Management in Production Planning

We study the problem of recovering a production plan after a disruption, where the disruption may be caused by incidents such as power failure, market change, machine breakdown, supply shortage, worker no-show, and others. The new recovery plan we seek after has to not only suit the changed environment brought about by the disruption, but also be close to the initial plan so as not to cause too...

متن کامل

From Dynamic Programming to Greedy Algorithms

A calculus of relations is used to reason about speciications and algorithms for optimi-sation problems. It is shown how certain greedy algorithms can be seen as reenements of dynamic programming. Throughout, the maximum lateness problem is used as a motivating example.

متن کامل

Optimization II: Dynamic Programming

In the last chapter, we saw that greedy algorithms are efficient solutions to certain optimization problems. However, there are optimization problems for which no greedy algorithm exists. In this chapter, we will examine a more general technique, known as dynamic programming, for solving optimization problems. Dynamic programming is a technique of implementing a top-down solution using bottom-u...

متن کامل

A Dynamic Programming Approach with Positional Weighting Window to Beat Tracking for Audio Music

Automatic beat tracking is challenging task, especially for audio music with time-varying meters. This study proposes a dynamic programming approach with positional weighting window to handle beat tracking with time-varying meters. In particular, the tempo curve is the reference to obtain correct beat positions. The weighting window is used to adapt bandwidth of tempo which reciprocal represent...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • Electronic Colloquium on Computational Complexity (ECCC)

دوره 25  شماره 

صفحات  -

تاریخ انتشار 2018